chrome.extension.onRequest.addListener(
  function(request, sender, sendResponse) {
 

      var selection = window.getSelection();
      var txt = window.getSelection().toString();
     
	   chrome.extension.sendRequest({ 'action': 'selectTxt',  'text': txt }, function handle(response) { });
	  //	 chrome.extension.sendResponse(window.getSelection().toString());
  });
 


